package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.util.List;

/**
 * @auther 小啊刚
 * @date 2020/5/27
 */
@Data
public class SysOfficeDto {

    private Page page = new Page();

    @ApiModelProperty(value = "机构id")
    private Long id;

    @ApiModelProperty(value = "上级机构id")
    private Long parentId;

    @ApiModelProperty(value = "公司id")
    private Integer companyId;

    @ApiModelProperty(value = "机构编码")
    private String officeCode;

    @ApiModelProperty(value = "机构名称")
    private String officeName;

    @ApiModelProperty(value = "机构id")
    List<Long> officeId;

    @ApiModelProperty(value = "是否需要加载用户（必填） 1:需要 2:不需要")
    Integer isLoadUser;
}
